﻿//===============================================================================
//	CGetRankListInfo
//	获取排行榜信息返回
//===============================================================================

#pragma once

#include "BaseMessage.h"


class CGetRankListInfo
	: public BaseMessage
{
public:
	CGetRankListInfo(uint32_t uid, uint32_t pn);
	~CGetRankListInfo();
	
public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new CGetRankListInfo(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetRankListInfo(uint32_t typeId, Json::Value& jv, uint32_t playerRanking);
};